// 企业基础信息
export interface Company {
    id: number
    company_name: string
    company_phone: string
    company_email: string
    company_address: string
    create_time: number
    update_time: number
}

// 部门信息
export interface Department {
    id: number
    parent_id: number
    parent_name?: string
    name: string
    code: string
    manager: string
    phone: string
    status: number
    sort: number
    create_time: number
    update_time: number
    children?: Department[]
}

// 岗位信息
export interface Position {
    id: number
    department_id: number
    department_name?: string
    name: string
    code: string
    description: string
    status: number
    sort: number
    create_time: number
    update_time: number
}

// 员工信息
export interface Employee {
    id: number
    department_id: number
    department_name?: string
    position_id: number
    position_name?: string
    name: string
    employee_code: string
    gender: number
    birthday?: string
    mobile?: string
    email?: string
    address?: string
    status: number
    entry_date?: string
    leave_date?: string
    create_time: number
    update_time: number
}

// 权限信息
export interface Permission {
    id: number
    name: string
    code: string
    description: string
    status: number
    create_time: number
    update_time: number
} 